package krautz.fitness;

import java.util.Date;

import android.graphics.Bitmap;

public class WeightRecord {

	private long _datetime;
	private Double _weight;
	private Double _bodyFatPercent;
	private Double _waterPercent;
	private Double _visceralFat;
	private Double _muscleMass;
	private Bitmap _picture;
	private String _comments;
	
	public WeightRecord(String datetime, String weight, String bodyFat, String waterPercent, String visceralPercent, String muscleMass, Bitmap picture, String comments){

		Date now = new Date();
		_datetime = now.getTime();
		_weight = Double.parseDouble(weight);
		_bodyFatPercent = Double.parseDouble(bodyFat);
		_waterPercent = Double.parseDouble(waterPercent);
		_visceralFat = Double.parseDouble(visceralPercent);
		_muscleMass = Double.parseDouble(muscleMass);
		_picture = picture;
		_comments = comments;
	}

	public long get_datetime() {
		return _datetime;
	}

	public void set_datetime(long datetime) {
		this._datetime = datetime;
	}

	public Double get_weight() {
		return _weight;
	}

	public void set_weight(Double weight) {
		this._weight = weight;
	}

	public Double get_bodyFatPercent() {
		return _bodyFatPercent;
	}

	public void set_bodyFatPercent(Double bodyFatPercent) {
		this._bodyFatPercent = bodyFatPercent;
	}

	public Double get_waterPercent() {
		return _waterPercent;
	}

	public void set_waterPercent(Double waterPercent) {
		this._waterPercent = waterPercent;
	}

	public Double get_visceralFat() {
		return _visceralFat;
	}

	public void set_visceralFat(Double visceralFat) {
		this._visceralFat = visceralFat;
	}

	public Double get_muscleMass() {
		return _muscleMass;
	}

	public void set_muscleMass(Double muscleMass) {
		this._muscleMass = muscleMass;
	}
	
	public Bitmap get_picture(){
		return _picture;
	}
	
	public void set_picture(Bitmap picture){
		this._picture = picture;
	}

	public String get_comments() {
		return _comments;
	}

	public void set_comments(String comments) {
		this._comments = comments;
	}
}
